<template>
  <div>
    <div class="gpo-steps">
      <div v-for="(descr, index) in stepsDescribe" :key="index" class="gpo-step" >
        <div class="gpo-step_head">
          <div :class="{'gpo-step_line': index != (stepsDescribe.length-1)}"/>
          <div class="gpo-step_icon is-text">
            <div :class="{'gpo-step__icon-check': index == stepIndex}" class="gpo-step__icon-inner"><i class="geo-step_icon_box"></i>{{ descr }}</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    'stepsDescribe': {
      type: Array,
      default: []
    },
    'stepIndex': {
      type: Number,
      default: 0
    }
  }
}
</script>
